package com.yehangtech.designpattern.行为型_观察者模式.service.impl;


import com.yehangtech.designpattern.行为型_观察者模式.service.api.AbstractLotteryService;
import com.yehangtech.designpattern.行为型_观察者模式.service.api.IMinibusTargetService;

public class LotteryServiceImpl extends AbstractLotteryService {
    private final IMinibusTargetService minibusTargetService = new MinibusTargetServiceImpl();

    @Override
    protected String doDraw(String uId) {
        return minibusTargetService.lottery(uId);
    }
}
